Graphical Monitoring of CPU Resource Consumption in a Java-based Framework
نویسندگان
چکیده
Monitoring of CPU consumption is a very basic requirement in many areas of software. It is especially valuable in the frame of Internet applications, in support of specific aspects such as security, reliability, and adaptability. This paper is set in the context of J-RAF2, a Javabased framework exploiting bytecode rewriting techniques in order to guarantee the portability of CPU-managed applications. We briefly recall this implementation technique and present an example of CPU monitoring module to validate this new approach. Depending on the application, resource management may involve simple low-level accounting of CPU usage, or higher-level tools that collect accounting information from several sources in order to enforce sophisticated strategies. This paper shows that CPU monitoring modules may be easily built to work on top of classes rewritten with J-RAF2, and that they will be entirely portable across many kinds of Java deployment technologies (standalone applications, applets, servlets).
منابع مشابه
Monitoring of resource consumption in Java-based application servers
To realize dependable and profitable information and communication systems, computing resources (CPU, memory, network bandwidth) should be taken into account to a much wider extent than they are today. E-commerce infrastructure, such as application servers, are especially concerned by this issue. This paper shows how an existing Java-based code transformation framework was extended to enable tr...
متن کاملCharacterization and Impact Estimation of CPU Consumption in Multi-Threaded Distributed Applications
The existing CPU resource characterization techniques perform well for the applications running as individual processes, or distributed applications involving simple interaction between two-party systems, such as traditional client/server or database systems. They do not work when function invocation spans processes and processors in the multithreaded and distributed applications built upon com...
متن کاملUsing Bytecode Instruction Counting as Portable CPU Consumption Metric
Accounting for the CPU consumption of applications is crucial for software development to detect and remove performance bottlenecks (profiling) and to evaluate the performance of algorithms (benchmarking). Moreover, extensible middleware may exploit resource consumption information in order to detect a resource overuse of client components (detection of denial-of-service attacks) or to charge c...
متن کاملComprehensive Profiling Support in the Java Virtual Machine
Existing profilers for Java applications typically rely on custom instrumentation in the Java virtual machine, and measure only limited types of resource consumption. Garbage collection and multi-threading pose additional challenges to profiler design and implementation. In this paper we discuss a general-purpose, portable, and extensible approach for obtaining comprehensive profiling informati...
متن کاملPortable Resource Control in Java
Preventing abusive resource consumption is indispensable for all kinds of systems that execute untrusted mobile code, such as mobile object systems, extensible web servers, and web browsers. To implement the required defense mechanisms, some support for resource control must be available: accounting and limiting the usage of physical resources like CPU and memory, and of logical resources like ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005